package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.common.Result;
import com.example.entity.DataInfo;
import com.example.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WebMapper extends BaseMapper<UserInfo> {

    @Select("select * from zy_user_info WHERE username = #{username}")
    UserInfo selectByUsername(String username);
}
